package com.yuncheng.oaApi.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.oaApi.vo.NkRsBmysxmsbVo;
import com.yuncheng.oaApi.vo.NkysxmsplcVo;
import com.yuncheng.vo.CurrentUserVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface NkBmysxmsbsplcFlowMapper {
    Page<NkysxmsplcVo> flowJobPage(Page<NkysxmsplcVo> page,
                                   @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                   @Param("user") CurrentUserVo user,
                                   @Param("spcyFlowVo") NkysxmsplcVo nkysxmsplcVo);

    Page<NkysxmsplcVo> flowJkPage(Page<NkysxmsplcVo> page,
                                    @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                    @Param("user") CurrentUserVo user,
                                    @Param("spcyFlowVo") NkysxmsplcVo nkysxmsplcVo);

    List<NkysxmsplcVo> flowJkList(
            @Param("onlyCurrentUser") boolean onlyCurrentUser,
            @Param("user") CurrentUserVo user,
            @Param("spcyFlowVo") NkysxmsplcVo nkysxmsplcVo);


    Page<NkysxmsplcVo> selectmyyb(Page<NkysxmsplcVo> page, @Param("spcyFlowVo") NkysxmsplcVo nkysxmsplcVo);

    Page<NkysxmsplcVo> myYbFlowPage(Page<NkysxmsplcVo> page,
                                      @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                      @Param("user") CurrentUserVo user,
                                      @Param("spcyFlowVo") NkysxmsplcVo nkysxmsplcVo);



}
